<template>
	<view class="mainBg h100 container">
		<navbar title="选择分类" />
		<view class="list">
			<view class="col">
				<view class="title">
					<image src="@/static/login/form-icon7.png"></image>职业领域
				</view>
				<view class="item">
					<text>芯片</text>
				</view>
				<view class="item">
					<text>芯片</text>
				</view>
				<view class="item">
					<text>芯片</text>
				</view>
				<view class="item">
					<text>芯片</text>
				</view>
			</view>
			<view class="col">
				<view class="title">
					<image src="@/static/login/form-icon8.png"></image>事业角色
				</view>
				<view class="item">
					<text>大学生</text>
				</view>
			</view>
		</view>
		<view class="submit" @click="submit">
			一门深入
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			submit() {
				uni.switchTab({
					url: "/pages/index/index"
				})
			}
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #35CBAD;
	}

	.list {
		.col {
			display: flex;
			flex-wrap: wrap;
			padding: 20rpx 0;

			.title {
				width: 100%;
				font-size: 36rpx;
				font-weight: bold;
				display: flex;
				align-items: center;
				padding: 20rpx 0;

				image {
					width: 48rpx;
					height: 48rpx;
				}
			}

			.item {
				width: calc(100%/3);
				padding: 10rpx;

				text {
					display: block;
					text-align: center;
					line-height: 60rpx;
					background-color: #fff;
					font-size: 28rpx;
					border-radius: 100px;
				}

				.active {
					color: $assist-color2;
				}
			}
		}
	}

	.submit {
		background: linear-gradient(180deg, #4095E5, #51C76C);
		text-align: center;
		border-radius: 100px;
		color: #fff;
		line-height: 82rpx;
		font-size: 32rpx;
		margin-top: 160rpx;
	}
</style>